define(['app'], function(app){
    app.config(function($routeProvider){
        $routeProvider.when('/index',{
            templateUrl: '/js/views/index.html',
            controller: '<%= controller %>'
        }).otherwise({redirectTo: '/index'});
    });
});